//
//  NewHotViewCell.h
//  Hxcsfw
//
//  Created by 企友软mac on 2018/2/12.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "iCarousel.h"

@protocol NewHotViewCellDelegate <NSObject>

- (void)delegatBtnClick:(UIButton *)button;
- (void)delegatiCarClick:(NSInteger)index;
- (void)delegatCollectionBtnClick:(NSInteger )tag;
- (void)delegatFlagAppUrlBtnClick;
@end

@interface NewHotViewCell : UITableViewCell<iCarouselDelegate,iCarouselDataSource>

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topContract;

@property (weak, nonatomic) IBOutlet UILabel *lbRemind;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topViewContract;

@property (weak, nonatomic) IBOutlet iCarousel *iCarouselView;
@property (nonatomic,strong) NSMutableArray *arrayOfAds;
@property (nonatomic,weak) UIPageControl *pageControl;

@property (nonatomic,strong) NSTimer *timer;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *widthCon;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *numWidthCon;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *widthNewCon;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *widthRepCon;

@property (weak, nonatomic) IBOutlet UILabel *lbTopTitle;
@property (weak, nonatomic) IBOutlet UILabel *lbTopSource;
@property (weak, nonatomic) IBOutlet UILabel *lbTopNum;
@property (weak, nonatomic) IBOutlet UILabel *lbTopDate;
@property (weak, nonatomic) IBOutlet UIImageView *imgTop;

@property (weak, nonatomic) IBOutlet UILabel *lbPolicy;
@property (weak, nonatomic) IBOutlet UIImageView *imgPolicy;
@property (weak, nonatomic) IBOutlet UILabel *lbPolicyTime;
@property (weak, nonatomic) IBOutlet UILabel *lbPolicyNum;

@property (weak, nonatomic) IBOutlet UILabel *lbReport;
@property (weak, nonatomic) IBOutlet UIImageView *imgReport;
@property (weak, nonatomic) IBOutlet UILabel *lbReportTime;
@property (weak, nonatomic) IBOutlet UILabel *lbReportNum;

@property (weak, nonatomic) IBOutlet UIButton *btnReceipt;
@property (weak, nonatomic) IBOutlet UIButton *btnWrite;

@property (weak, nonatomic) IBOutlet UIButton *btnRank;

@property (weak, nonatomic) IBOutlet UILabel *lbTypeT;

@property (weak, nonatomic) id <NewHotViewCellDelegate> delegate;//这个是代理属性


@end
